﻿using ATTools.Models;
using Orchard.ContentManagement.Drivers;
using Orchard.Environment.Extensions;

namespace ATTools.Drivers
{
    [OrchardFeature("ATTools")]
    public class TextsizeDriver : ContentPartDriver<TextsizePart> 
    {

        protected override DriverResult Display(TextsizePart part, string displayType, dynamic shapeHelper)
        {

            return ContentShape("Parts_Textsize", () => shapeHelper.Parts_Textsize(
                part
                ));
        }

    }
}